Home > Use Cases > Rediscovery

Rediscovery

A sample SessionToken will be used throughout this use case.
The sample SessionToken will be: e65aedeb-a0e7-440c-8309-1cc0bcd920db

Base URLs are required depending on the version of VM Backup being used. <base_url> for each version is:

V8.x: http://localhost:35113/api

V9.0.x: http://localhost:36015/api

V9.1.x: http://localhost:36013/api/rest

Rediscovery is important because it updates VM Backup with any new updates on the Hypervisor. This means that whenever the Hypervisor information changes, such as new virtual machines have been added or deleted, Rediscovery should be called in order for VM Backup to get updated with the latest information. As an example, if a virtual machine has been added to the Hypervisor, Rediscovery needs to be called before the Virtual Machine can be configured in VM Backup.

 

The following POST request rediscovers the hypervisors which are currently configured in VM Backup:

<base_url>/vms/rediscover /e65aedeb-a0e7-440c-8309-1cc0bcd920db

 

Note: A full list of available API commands can be found here